//
//  StudentAddViewController.h
//  Eath
//
//  Created by mao on 10/29/14.
//  Copyright (c) 2014 yuhaya. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Student.h"
#import "DCRoundSwitch.h"
#import "StudentBaseViewController.h"

@interface StudentAddViewController : UIViewController <UITableViewDataSource,UITableViewDelegate,UITextFieldDelegate>

@property (nonatomic,strong) UITableView * table;
@property (nonatomic,strong) UIImageView * photo;
@property (nonatomic,strong) UITextField * name;
@property (nonatomic,strong) DCRoundSwitch * sex;
@property (nonatomic,strong) UITextField * card;
@property (nonatomic,strong) UITextField * school;
@property (nonatomic,strong) NSString * school_id;
@property (nonatomic,strong) UITextField * grade;
@property (nonatomic,strong) UITextField * class_name;
@property (nonatomic,strong) UITextField * enrol_time;
@property (nonatomic,strong) UITextField * relation;
@property (nonatomic,strong) NSString * identify;
@property (nonatomic,strong) Student * stu;
@property (nonatomic,strong) StudentBaseViewController * stu_base;
//@property (nonatomic,assign) NSInteger height; //调整输入时的界面table的高度

@end
